//
//  Contact.h
//  04-集合2-DIctionary
//
//  Created by dllo on 16/7/7.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Contact : NSObject
@property (nonatomic, retain) NSString *name;
@property (nonatomic, retain) NSString *sex;
@property (nonatomic, assign) NSString *phoneNumber;
@property (nonatomic, retain) NSString *adress;
@property (nonatomic, assign) NSInteger age;
@property (nonatomic, retain) NSString *groupName;

- (instancetype)initWithName:(NSString *)name
                         sex:(NSString *)sex
                 phoneNumber:(NSString *)phoneNumber
                      adress:(NSString *)adress
                         age:(NSInteger)age;
+ (instancetype)contactWithName:(NSString *)name
                            sex:(NSString *)sex
                    phoneNumber:(NSString *)phoneNumber
                         adress:(NSString *)adress
                            age:(NSInteger)age;
- (void)showContact;
@end
